# 读取缓存文件，逐行提取basename并输出
cat ~/.cache/dmenu_genrealpath_cache | while read -r full_path; do
  basename "$full_path"
done

# 读取缓存文件，逐行提取basename并输出
cat ~/.cache/dmenu_genrealpath_cache | while read -r full_path; do basename "$full_path" done > x.txt


# $ diff <(sort x.txt) <(sort ~/.cache/dmenu_run) | wc -l

